export const changchunMortgageTemplate = [
  {
    fields: [
      {
        label: '合同编号',
        prop: 'contractNo'
      }
    ]
  },
  {
    name: '抵押人',
    fields: [
      {
        label: '抵押人',
        prop: 'mortgageName'
      },
      {
        label: '证件类型',
        prop: 'mortgageIdType'
      },
      {
        label: '证件号码',
        prop: 'mortgageIdNo'
      },
      {
        label: '地址',
        prop: 'mortgageAddress'
      },
      {
        label: '电话',
        prop: 'mortgagePhone'
      }
    ]
  },
  {
    name: '抵押权人',
    fields: [
      {
        label: '抵押权人',
        prop: 'mortgageeName'
      },
      {
        label: '证件类型',
        prop: 'mortgageeIdType'
      },
      {
        label: '证件号码',
        prop: 'mortgageeIdNo'
      },
      {
        label: '地址',
        prop: 'mortgageeAddress'
      },
      {
        label: '电话',
        prop: 'mortgageePhone'
      },
      {
        type: 'cloze',
        tpl: '本合同仅用于 $1 $2',
        fields: [
          {
            key: '$1',
            type: 'radio-group',
            prop: 'mtRegistUser',
            options: [
              {
                label: '抵押权登记',
                value: '1'
              },
              {
                label: '抵押权预告登记',
                value: '2'
              },
              {
                label: '预购商品房抵押权预告登记',
                value: '3'
              },
              {
                value: '4',
                label: '其他'
              }
            ]
          },
          {
            key: '$2',
            type: 'input',
            prop: 'mtRegistUserOther',
            isDisabled: 'mtRegistUser!=4',
            style: {
              width: '200px'
            }
          }
        ]
      }
    ]
  },
  {
    name: '第一条 主债权详情',
    style: {
      'display': 'flex',
      'flex-direction': 'column'
    },
    fields: [
      {
        type: 'cloze',
        tpl: '债务人  $1  与抵押权人于  $2  年  $3  月  $4  日签订编号为  $5  的《借款合同》',
        fields: [
          {
            key: '$1',
            prop: 'customerName1',
            type: 'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$2',
            prop: 'year1',
            type: 'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$3',
            prop: 'month1',
            type: 'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$4',
            prop: 'day1',
            type: 'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$5',
            prop: 'contractNo1',
            type: 'input',
            style: {
              width: '175px'
            }
          },
        ]
      },
      {
        type: 'cloze',
        tpl: '主债权金额及币种:人民币$1',
        fields: [
          {
            key: "$1",
            type: 'input',
            style: {
              width: '175px'
            },
            prop: 'moneyUpper'
          }
        ]
      },
      {
        type: 'cloze',
        tpl: '债务履行期限   $1  至  $2  ',
        fields: [
          {
            key: '$1',
            prop: 'date1',
            type: 'input',
            style: {
              width: '275px'
            }
          },
          {
            key: '$2',
            prop: 'date2',
            type: 'input',
            style: {
              width: '275px'
            }
          }
        ]
      }
    ]
  },
  {
    name: '抵押物种类',
    fields: [
      {
        style: {
          'display': 'flex',
          'flex-direction': 'column'
        },
        type: 'checkbox-group',
        prop: 'mortgageTypeCb',
        options: [
          {
            label: '房屋等建筑物及土地附着物',
            value: '1'
          },
          {
            label: '依法获取尚未建造的或者正在建造中的房屋或者其他建筑物',
            value: '2'
          },
          {
            label: '建设用地使用权',
            value: '3'
          },
          {
            label: '以招标、拍卖、公开协商等方式取得的荒地等土地承包经营权',
            value: '4'
          },
          {
            label: '法律、法规未禁止抵押的其他不动产权利',
            value: '5'
          },
        ]
      }
    ]
  },
  {
    name: '抵押详情',
    style: {
      'display': 'flex',
      'flex-direction': 'column'
    },
    fields: [
      {
        labelWidth: '170px',
        label: '权属证书或证明1-名称',
        prop: 'mtInfoFileName1'
      },
      {
        labelWidth: '170px',
        label: '权属证书或证明1-号码',
        prop: 'mtInfoFileNo1'
      },
      {
        labelWidth: '170px',
        label: '权属证书或证明2-名称',
        prop: 'mtInfoFileName2'
      },
      {
        labelWidth: '170px',
        label: '权属证书或证明2-号码',
        prop: 'mtInfoFileNo2'
      },
      {
        labelWidth: '170px',
        label: '位置',
        prop: 'mtPosition'
      },
      {
        label: '房屋面积',
        labelWidth: '170px',
        type: 'cloze',
        tpl: '$1m²',
        fields: [
          {
            key: '$1',
            prop: 'mtInfoArea1',
            type: 'input',
            style: {
              width: '150px'
            }
          }
        ]
      },
      {
        label: '土地面积',
        labelWidth: '170px',
        type: 'cloze',
        tpl: '$1m²',
        fields: [
          {
            key: '$1',
            prop: 'mtInfoArea2',
            type: 'input',
            style: {
              width: '150px'
            }
          }
        ]
      },
      {
        labelWidth: '170px',
        label: '备注',
        prop: 'mtInfoRemark'
      },
      {
        label: '评估/约定价值',
        labelWidth: '170px',
        type: 'cloze',
        tpl: '$1万元',
        fields: [
          {
            key: '$1',
            prop: 'mtInfoValue',
            type: 'input',
            style: {
              width: '150px'
            }
          }
        ]
      },
      {
        label: '担保金额',
        labelWidth: '170px',
        type: 'cloze',
        tpl: '$1万元',
        fields: [
          {
            key: '$1',
            prop: 'mtInfoSecurityAmount',
            type: 'input',
            style: {
              width: '150px'
            }
          }
        ]
      },
    ]
  },
  {
    name: '其他',
    fields: [
      {
        type: 'cloze',
        tpl: '本合同一式  $1  份，甲方  $2  份，乙方  $3  份，不动产登记机构存档一份',
        fields: [
          {
            key: '$1',
            type: 'input',
            prop: 'contractNum1',
            style: {
              width: '75px'
            }
          },
          {
            key: '$2',
            type: 'input',
            prop: 'contractNum2',
            style: {
              width: '75px'
            }
          },
          {
            key: '$3',
            type: 'input',
            prop: 'contractNum3',
            style: {
              width: '75px'
            }
          },
        ]
      }
    ]
  },
  {
    name: '签字页',
    fields: [
      {
        label: '甲方',
        prop: 'signName1'
      },
      {
        label: '甲方-代理人',
        prop: 'agentName1'
      },
      {
        tpl: '甲方-签署时间    $1年$2月$3日',
        type: 'cloze',
        fields: [
          {
            key: '$1',
            prop: 'signYear1',
            type:'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$2',
            prop: 'signMonth1',
            type:'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$3',
            prop: 'signDay1',
            type:'input',
            style: {
              width: '175px'
            }
          },
        ]
      },
      {
        label: '乙方',
        prop: 'signName2'
      },
      {
        label: '乙方-代理人',
        prop: 'agentName2'
      },
      {
        tpl: '乙方-签署时间    $1年$2月$3日',
        type: 'cloze',
        fields: [
          {
            key: '$1',
            prop: 'signYear2',
            type:'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$2',
            prop: 'signMonth2',
            type:'input',
            style: {
              width: '175px'
            }
          },
          {
            key: '$3',
            prop: 'signDay2',
            type:'input',
            style: {
              width: '175px'
            }
          },
        ]
      },
    ]
  }
]